package com.sjz.bookmark.mysql;

import java.util.ArrayList;
import java.util.List;

public abstract class BookmarkNode {
    private String name;
    private BookmarkNode parent;
    private List<BookmarkNode> children = new ArrayList<>();
    
    // 添加/移除子节点方法
    public void addChild(BookmarkNode child) {
        children.add(child);
    }
    
    // getter/setter方法
}